package com.cn.jinl.dao;

import com.cn.jinl.domain.ProductStorageOrderVo;
import com.cn.jinl.domain.ProductStorageOut;
import com.cn.jinl.domain.ProductStorageOutExample;
import java.util.List;

import com.cn.jinl.domain.ProductStorageOutVo;
import com.cn.jinl.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface ProductStorageOutMapper {
    int countByExample(ProductStorageOutExample example);

    int deleteByExample(ProductStorageOutExample example);

    int insert(ProductStorageOut record);

    int insertSelective(ProductStorageOut record);
    int batchInsertStorageOuts(@Param("itemList") List<ProductStorageOut> records);

    List<ProductStorageOut> selectByExample(ProductStorageOutExample example);

    List<ProductStorageOutVo> selectOrderStorageOutList(QueryForm queryForm);
    int selectOrderStorageOutListCount(QueryForm queryForm);

    List<ProductStorageOutVo> selectOrderStorageOutMXList(QueryForm queryForm);
    int selectOrderStorageOutMXListCount(QueryForm queryForm);

    List<ProductStorageOrderVo> selectProductStorageByOrderId(String orderId);

    int updateByExampleSelective(@Param("record") ProductStorageOut record, @Param("example") ProductStorageOutExample example);

    int updateByExample(@Param("record") ProductStorageOut record, @Param("example") ProductStorageOutExample example);

    ProductStorageOut selectByRelateId(String relateId);
}